package br.com.monitorimoveis.comum.persistencia;

import java.util.List;

import org.hibernate.Session;

public interface IAbstractDAO<ENTITY, IDTYPE>{
	
	public Session getSession();		
	
	public ENTITY inserir(ENTITY entity);
	
	public void alterar(ENTITY entity);
	
	public void remover(ENTITY entity);
	
	public ENTITY getById(IDTYPE id);
	
	public List<ENTITY> listAll();
	
}

